/**
 * Copyright 2008-2009. Chongqing Communications Industry Services Co.,Ltd Information Technology Branch. All rights
 * reserved. <a>http://www.cqcis.com</a>
 */
package com.cqcis.uip.base.framework.common;

import java.io.Serializable;

import com.cqcis.uip.base.framework.common.TaskRepository.Property;

/**
 * 任务处理记录, 记录一个服务的任务处理
 * 
 * @author huangmy
 * @date 2008-3-16
 */
public class TaskRecord implements Serializable {
	private static final long serialVersionUID = 1L;
	private TaskRepository sendTaskRepository = new TaskRepository(Property.SEND); // 发送的任务
	private TaskRepository recvTaskRepository = new TaskRepository(Property.RECV); // 接收的任务

	/**
	 * 发送的任务
	 * 
	 * @return
	 */
	public TaskRepository getSendTaskRepository() {
		return sendTaskRepository;
	}

	/**
	 * 接收的任务
	 * 
	 * @return
	 */
	public TaskRepository getRecvTaskRepository() {
		return recvTaskRepository;
	}
}
